import request from '@/utils/request'

export function playList(data) {
	return request({
		url: '/play/playinformation/list',
		method: 'get',
		params: data
	})
}

export function userPlayRelationList() {
	return request({
		url: '/play/playinformation/list/user/relation',
		method: 'get',
	})
}

export function playDetail(id) {
	return request({
		url: '/play/playinformation/' + id,
		method: 'get',
	})
}

export function joinPlay(data) {
	return request({
		url: '/play/playinformation/join',
		method: 'post',
		data: data
	})
}